package com.wilmer.children.service;

import java.util.List;
import com.wilmer.children.domain.YwChildren;

/**
 * 幼儿Service接口
 * 
 * @author hans
 * @date 2024-05-19
 */
public interface IYwChildrenService 
{
    /**
     * 查询幼儿
     * 
     * @param children 幼儿主键
     * @return 幼儿
     */
    public YwChildren selectYwChildrenByChildren(Long children);

    /**
     * 查询幼儿列表
     * 
     * @param ywChildren 幼儿
     * @return 幼儿集合
     */
    public List<YwChildren> selectYwChildrenList(YwChildren ywChildren);

    /**
     * 新增幼儿
     * 
     * @param ywChildren 幼儿
     * @return 结果
     */
    public int insertYwChildren(YwChildren ywChildren);

    /**
     * 修改幼儿
     * 
     * @param ywChildren 幼儿
     * @return 结果
     */
    public int updateYwChildren(YwChildren ywChildren);

    /**
     * 批量删除幼儿
     * 
     * @param childrens 需要删除的幼儿主键集合
     * @return 结果
     */
    public int deleteYwChildrenByChildrens(Long[] childrens);

    /**
     * 删除幼儿信息
     * 
     * @param children 幼儿主键
     * @return 结果
     */
    public int deleteYwChildrenByChildren(Long children);
}
